<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<html>
<head>
    <title>$Title$</title>
</head>
<body>
<h1>汇率表</h1>
<table width="517" border="1" align="center" cellpadding="0" cellspacing="0" bordercolo="#33FFFF">
    <caption>当日评价汇率</caption>
    <tr bgcolor="#999900">
        <td width="250"><div align="center">Currency Pair</div></td>
        <td width="261"><div align="center">TTM RATE</div></td>
    </tr>
    <c:forEach items="${ttmRates}" var="ttmRate">
        <tr>
            <td><div align="center">${ttmRate.currencyPair}</div></td>
            <td><div align="center">${ttmRate.value}</div></td>
        </tr>
    </c:forEach>
</table>
</body>
</html>